diff --git a/.gitignore b/.gitignore
index 7e09b6fcf1a346c1f10b8d610c62cecd8fbcdf39..1621fcbe7ef3dfb815734d52d8be4c8dec129a80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,9 @@
 .svn
 *.swp
 *.vim
-fit1[012].clo
-fithesis.cls
 fithesis.dtx
+*.aux
+*.log
+*.out
+*.idx
+*.toc
diff --git a/Makefile b/Makefile
index d963467b54391c6041237e62f986422781b0743a..aafd888ee90f865f19631a258f0f0305bacc255f 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,9 @@ example.pdf: example.tex fithesis.cls
 	pdflatex $<
 
 clean:
-	rm -f example.aux example.log example.out example.pdf example.toc
-	rm -f fithesis.toc fithesis.pdf fithesis.aux fithesis.idx fithesis.log
+	rm -f example.aux example.log example.out example.toc
+	rm -f fithesis.toc fithesis.aux fithesis.idx fithesis.log
 
 clean-all: clean
-	rm -f fit1[012].clo fithesis.cls fithesis.dtx
+	rm -f example.pdf
+	rm -f fit1[012].clo fithesis.cls fithesis.dtx fithesis.pdf
diff --git a/example.pdf b/example.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..bfcc9edccdc8f86f8f0dfefeb2d08f72fb09ef53
Binary files /dev/null and b/example.pdf differ
diff --git a/fit10.clo b/fit10.clo
new file mode 100644
index 0000000000000000000000000000000000000000..30b9eb5e4b6e76243fbb755e5418ecc9fa92a200
--- /dev/null
+++ b/fit10.clo
@@ -0,0 +1,255 @@
+%%
+%% This is file `fit10.clo',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fithesis.dtx  (with options: `opt,10pt')
+%% 
+%% 
+%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
+%% authors listed elsewhere in this file.
+%% 
+%% For further copyright information, and conditions for modification
+%% and distribution, see the file legal.txt, and any other copyright
+%% notices in this file.
+%% 
+%% This file is part of the LaTeX2e system.
+%% ----------------------------------------
+%%   This system is distributed in the hope that it will be useful,
+%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
+%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%% 
+%% IMPORTANT COPYRIGHT NOTICE:
+%% 
+%% You are NOT ALLOWED to distribute this file alone.
+%% 
+%% If you receive only some of these files from someone, complain!
+%% 
+%% However, NO PERMISSION is granted to generate or to distribute a
+%% modified version of this file under its original name.
+%% 
+%% You are NOT ALLOWED to change this file.
+%% 
+%% 
+%% MODIFICATION ADVICE:
+%% 
+%% If you want to customize this file, it is best to make a copy of
+%% the source file(s) from which it was produced.  Use a different
+%% name for your copy(ies) and modify the copy(ies); this will ensure
+%% that your modifications do not get overwritten when you install a
+%% new release of the standard system.  You should also ensure that
+%% your modified source file does not generate any modified file with
+%% the same name as a standard file.
+%% 
+%% You will also need to produce your own, suitably named, .ins file to
+%% control the generation of files from your source file; this file
+%% should contain your own preambles for the files it generates, not
+%% those in the standard .ins files.
+%% 
+%% The names of the source files used are shown above.
+%% 
+\ProvidesFile{fit10.clo}[2015/01/09 fithesis3 (size option)]
+
+\renewcommand{\normalsize}{\fontsize\@xpt{12}\selectfont%
+\abovedisplayskip 10\p@ plus2\p@ minus5\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
+\let\@listi\@listI}
+
+\renewcommand{\small}{\fontsize\@ixpt{11}\selectfont%
+\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip \z@ plus2\p@
+\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
+\def\@listi{\leftmargin\leftmargini
+\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\footnotesize}{\fontsize\@viiipt{9.5}\selectfont%
+\abovedisplayskip 6\p@ plus2\p@ minus4\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip \z@ plus\p@
+\belowdisplayshortskip 3\p@ plus\p@ minus2\p@
+\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
+\topsep 3\p@ plus\p@ minus\p@\parsep 2\p@ plus\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\scriptsize}{\fontsize\@viipt{8pt}\selectfont}
+\renewcommand{\tiny}{\fontsize\@vpt{6pt}\selectfont}
+\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont}
+\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont}
+\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont}
+\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont}
+\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
+
+\let\@normalsize\normalsize
+\normalsize
+
+\if@twoside
+   \oddsidemargin 0.75in
+   \evensidemargin 0.4in
+   \marginparwidth 0pt
+\else
+   \oddsidemargin 0.75in
+   \evensidemargin 0.75in
+   \marginparwidth 0pt
+\fi
+\marginparsep 10pt
+
+\topmargin 0.4in
+
+\headheight 20pt
+\headsep 10pt
+\topskip 10pt
+\footskip 30pt
+
+\textheight = 43\baselineskip
+\advance\textheight by \topskip
+\textwidth 5.0truein
+\columnsep 10pt
+\columnseprule 0pt
+
+\footnotesep 6.65pt
+\skip\footins 9pt plus 4pt minus 2pt
+\floatsep 12pt plus 2pt minus 2pt
+\textfloatsep 20pt plus 2pt minus 4pt
+\intextsep 12pt plus 2pt minus 2pt
+\dblfloatsep 12pt plus 2pt minus 2pt
+\dbltextfloatsep 20pt plus 2pt minus 4pt
+
+\@fptop 0pt plus 1fil
+\@fpsep 8pt plus 2fil
+\@fpbot 0pt plus 1fil
+\@dblfptop 0pt plus 1fil
+\@dblfpsep 8pt plus 2fil
+\@dblfpbot 0pt plus 1fil
+\marginparpush 5pt
+
+\parskip 0pt plus 1pt
+\partopsep 2pt plus 1pt minus 1pt
+
+\@lowpenalty   51
+\@medpenalty  151
+\@highpenalty 301
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty   -\@lowpenalty
+\@itempenalty     -\@lowpenalty
+
+\newif\iffichapters
+\fichaptersfalse
+\ifx\clsclass\Scrreprtcls\fichapterstrue\fi
+\ifx\clsclass\RapportIcls\fichapterstrue\fi
+\ifx\clsclass\RapportIIIcls\fichapterstrue\fi
+\iffichapters
+  \def\@makechapterhead#1{%
+    {\setlength\parindent{\z@}%
+     \setlength\parskip  {\z@}%
+      \ifnum \c@secnumdepth >\m@ne
+  \par\nobreak
+  \vskip 10\p@
+      \fi
+      \Large \ChapFont \thechapter{} \space #1\par
+      \nobreak
+      \vskip 20\p@
+    }}
+
+  \def\@makeschapterhead#1{%
+    {\setlength\parindent{\z@}%
+     \setlength\parskip  {\z@}%
+     \Large \ChapFont #1\par
+      \nobreak
+      \vskip 20\p@
+    }}
+
+  \def\chapter{\clearpage
+     \thispagestyle{plain}
+     \global\@topnum\z@
+     \@afterindentfalse
+   \secdef\@chapter\@schapter}
+
+  \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+  \refstepcounter{chapter}%
+  \typeout{\@chapapp\space\thechapter.}%
+  \addcontentsline{toc}{chapter}{\protect
+  \numberline{\thechapter}\bfseries #1}\else
+\addcontentsline{toc}{chapter}{\bfseries #1}\fi
+     \chaptermark{#1}%
+     \addtocontents{lof}%
+ {\protect\addvspace{4\p@}}
+     \addtocontents{lot}%
+ {\protect\addvspace{4\p@}}
+     \if@twocolumn
+     \@topnewpage[\@makechapterhead{#2}]%
+       \else \@makechapterhead{#2}%
+     \@afterheading
+       \fi}
+
+  %\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
+  %        \else \@makeschapterhead{#1}%
+  %              \markright{#1}
+  %              \@afterheading\fi}
+
+\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
+    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bfseries}}
+\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
+    minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}}
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
+    -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}}
+\def\paragraph{\@startsection
+    {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
+    \normalsize\bfseries}}
+\def\subparagraph{\@startsection
+     {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
+     .2ex}{-1em}{\reset@font\normalsize\bfseries}}
+
+\setcounter{secnumdepth}{2}
+
+\def\appendix{\par
+  \setcounter{chapter}{0}%
+  \setcounter{section}{0}%
+  \def\@chapapp{\appendixname}%
+  \def\thechapter{\Alph{chapter}}}
+
+\leftmargini 2.5em
+\leftmarginii 2.2em     % > \labelsep + width of '(m)'
+\leftmarginiii 1.87em   % > \labelsep + width of 'vii.'
+\leftmarginiv 1.7em     % > \labelsep + width of 'M.'
+\leftmarginv 1em
+\leftmarginvi 1em
+
+\leftmargin\leftmargini
+\labelsep .5em
+\labelwidth\leftmargini\advance\labelwidth-\labelsep
+
+\def\@listI{\leftmargin\leftmargini \parsep 4\p@ plus2\p@ minus\p@%
+\topsep 8\p@ plus2\p@ minus4\p@
+\itemsep 4\p@ plus2\p@ minus\p@}
+
+\let\@listi\@listI
+\@listi
+
+\def\@listii{\leftmargin\leftmarginii
+   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+   \topsep 4\p@ plus2\p@ minus\p@
+   \parsep 2\p@ plus\p@ minus\p@
+   \itemsep \parsep}
+
+\def\@listiii{\leftmargin\leftmarginiii
+    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+    \topsep 2\p@ plus\p@ minus\p@
+    \parsep \z@ \partopsep\p@ plus\z@ minus\p@
+    \itemsep \topsep}
+
+\def\@listiv{\leftmargin\leftmarginiv
+     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
+
+\def\@listv{\leftmargin\leftmarginv
+     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
+
+\def\@listvi{\leftmargin\leftmarginvi
+     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
+\endinput
+%%
+%% End of file `fit10.clo'.
diff --git a/fit11.clo b/fit11.clo
new file mode 100644
index 0000000000000000000000000000000000000000..b63244f7cf80ea96ec157c0e4893af64e730a093
--- /dev/null
+++ b/fit11.clo
@@ -0,0 +1,254 @@
+%%
+%% This is file `fit11.clo',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fithesis.dtx  (with options: `opt,11pt')
+%% 
+%% 
+%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
+%% authors listed elsewhere in this file.
+%% 
+%% For further copyright information, and conditions for modification
+%% and distribution, see the file legal.txt, and any other copyright
+%% notices in this file.
+%% 
+%% This file is part of the LaTeX2e system.
+%% ----------------------------------------
+%%   This system is distributed in the hope that it will be useful,
+%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
+%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%% 
+%% IMPORTANT COPYRIGHT NOTICE:
+%% 
+%% You are NOT ALLOWED to distribute this file alone.
+%% 
+%% If you receive only some of these files from someone, complain!
+%% 
+%% However, NO PERMISSION is granted to generate or to distribute a
+%% modified version of this file under its original name.
+%% 
+%% You are NOT ALLOWED to change this file.
+%% 
+%% 
+%% MODIFICATION ADVICE:
+%% 
+%% If you want to customize this file, it is best to make a copy of
+%% the source file(s) from which it was produced.  Use a different
+%% name for your copy(ies) and modify the copy(ies); this will ensure
+%% that your modifications do not get overwritten when you install a
+%% new release of the standard system.  You should also ensure that
+%% your modified source file does not generate any modified file with
+%% the same name as a standard file.
+%% 
+%% You will also need to produce your own, suitably named, .ins file to
+%% control the generation of files from your source file; this file
+%% should contain your own preambles for the files it generates, not
+%% those in the standard .ins files.
+%% 
+%% The names of the source files used are shown above.
+%% 
+\ProvidesFile{fit11.clo}[2015/01/09 fithesis3 (size option)]
+
+\renewcommand{\normalsize}{\fontsize\@xipt{14}\selectfont%
+\abovedisplayskip 11\p@ plus3\p@ minus6\p@
+\belowdisplayskip \abovedisplayskip
+\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
+\let\@listi\@listI}
+
+\renewcommand{\small}{\fontsize\@xpt{12}\selectfont%
+\abovedisplayskip 10\p@ plus2\p@ minus5\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
+\def\@listi{\leftmargin\leftmargini
+\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\footnotesize}{\fontsize\@ixpt{11}\selectfont%
+\abovedisplayskip 8\p@ plus2\p@ minus4\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip \z@ plus\p@
+\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
+\def\@listi{\leftmargin\leftmargini
+\topsep 4\p@ plus2\p@ minus2\p@\parsep 2\p@ plus\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont}
+\renewcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont}
+\renewcommand{\large}{\fontsize\@xiipt{14pt}\selectfont}
+\renewcommand{\Large}{\fontsize\@xivpt{18pt}\selectfont}
+\renewcommand{\LARGE}{\fontsize\@xviipt{22pt}\selectfont}
+\renewcommand{\huge}{\fontsize\@xxpt{25pt}\selectfont}
+\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
+
+\let\@normalsize\normalsize
+\normalsize
+
+\if@twoside
+   \oddsidemargin 0.75in
+   \evensidemargin 0.4in
+   \marginparwidth 0pt
+\else
+   \oddsidemargin 0.75in
+   \evensidemargin 0.75in
+   \marginparwidth 0pt
+\fi
+\marginparsep 10pt
+
+\topmargin 0.4in
+
+\headheight 20pt
+\headsep 10pt
+\topskip 10pt
+\footskip 30pt
+
+\textheight = 39\baselineskip
+\advance\textheight by \topskip
+\textwidth 5.0truein
+\columnsep 10pt
+\columnseprule 0pt
+
+\footnotesep 7.7pt
+\skip\footins 10pt plus 4pt minus 2pt
+\floatsep 12pt plus 2pt minus 2pt
+\textfloatsep 20pt plus 2pt minus 4pt
+\intextsep 12pt plus 2pt minus 2pt
+\dblfloatsep 12pt plus 2pt minus 2pt
+\dbltextfloatsep 20pt plus 2pt minus 4pt
+
+\@fptop 0pt plus 1fil
+\@fpsep 8pt plus 2fil
+\@fpbot 0pt plus 1fil
+\@dblfptop 0pt plus 1fil
+\@dblfpsep 8pt plus 2fil
+\@dblfpbot 0pt plus 1fil
+\marginparpush 5pt
+
+\parskip 0pt plus 0pt
+\partopsep 3pt plus 1pt minus 2pt
+
+\@lowpenalty   51
+\@medpenalty  151
+\@highpenalty 301
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty   -\@lowpenalty
+\@itempenalty     -\@lowpenalty
+
+\newif\iffichapters
+\fichaptersfalse
+\ifx\clsclass\Scrreprtcls\fichapterstrue\fi
+\ifx\clsclass\RapportIcls\fichapterstrue\fi
+\ifx\clsclass\RapportIIIcls\fichapterstrue\fi
+\iffichapters
+  \def\@makechapterhead#1{%
+    {\setlength\parindent{\z@}%
+     \setlength\parskip  {\z@}%
+      \ifnum \c@secnumdepth >\m@ne
+  \par\nobreak
+  \vskip 10\p@
+      \fi
+      \Large \ChapFont \thechapter{} \space #1\par
+      \nobreak
+      \vskip 20\p@
+    }}
+
+  \def\@makeschapterhead#1{%
+    {\setlength\parindent{\z@}%
+     \setlength\parskip  {\z@}%
+     \Large \ChapFont #1\par
+      \nobreak
+      \vskip 20\p@
+    }}
+
+  \def\chapter{\clearpage
+     \thispagestyle{plain}
+     \global\@topnum\z@
+     \@afterindentfalse
+   \secdef\@chapter\@schapter}
+
+  \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+  \refstepcounter{chapter}%
+  \typeout{\@chapapp\space\thechapter.}%
+  \addcontentsline{toc}{chapter}{\protect
+  \numberline{\thechapter}\bfseries #1}\else
+\addcontentsline{toc}{chapter}{\bfseries #1}\fi
+     \chaptermark{#1}%
+     \addtocontents{lof}%
+ {\protect\addvspace{4\p@}}
+     \addtocontents{lot}%
+ {\protect\addvspace{4\p@}}
+     \if@twocolumn
+     \@topnewpage[\@makechapterhead{#2}]%
+       \else \@makechapterhead{#2}%
+     \@afterheading
+       \fi}
+
+  %\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
+  %        \else \@makeschapterhead{#1}%
+  %              \markright{#1}
+  %              \@afterheading\fi}
+
+\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
+    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bfseries}}
+\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
+    minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}}
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
+    -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}}
+\def\paragraph{\@startsection
+    {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
+    \normalsize\bfseries}}
+\def\subparagraph{\@startsection
+     {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
+     .2ex}{-1em}{\reset@font\normalsize\bfseries}}
+
+\setcounter{secnumdepth}{2}
+
+\def\appendix{\par
+  \setcounter{chapter}{0}%
+  \setcounter{section}{0}%
+  \def\@chapapp{\appendixname}%
+  \def\thechapter{\Alph{chapter}}}
+
+\leftmargini 2.5em
+\leftmarginii 2.2em     % > \labelsep + width of '(m)'
+\leftmarginiii 1.87em   % > \labelsep + width of 'vii.'
+\leftmarginiv 1.7em     % > \labelsep + width of 'M.'
+\leftmarginv 1em
+\leftmarginvi 1em
+
+\leftmargin\leftmargini
+\labelsep .5em
+\labelwidth\leftmargini\advance\labelwidth-\labelsep
+
+\def\@listI{\leftmargin\leftmargini \parsep 4.5\p@ plus2\p@ minus\p@
+\topsep 9\p@ plus3\p@ minus5\p@
+\itemsep 4.5\p@ plus2\p@ minus\p@}
+
+\let\@listi\@listI
+\@listi
+
+\def\@listii{\leftmargin\leftmarginii
+   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+   \topsep 4.5\p@ plus2\p@ minus\p@
+   \parsep 2\p@ plus\p@ minus\p@
+   \itemsep \parsep}
+
+\def\@listiii{\leftmargin\leftmarginiii
+    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+    \topsep 2\p@ plus\p@ minus\p@
+    \parsep \z@ \partopsep \p@ plus\z@ minus\p@
+    \itemsep \topsep}
+
+\def\@listiv{\leftmargin\leftmarginiv
+     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
+
+\def\@listv{\leftmargin\leftmarginv
+     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
+
+\def\@listvi{\leftmargin\leftmarginvi
+     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
+\endinput
+%%
+%% End of file `fit11.clo'.
diff --git a/fit12.clo b/fit12.clo
new file mode 100644
index 0000000000000000000000000000000000000000..a19eaed301258599472d55bee10748d781d10d30
--- /dev/null
+++ b/fit12.clo
@@ -0,0 +1,256 @@
+%%
+%% This is file `fit12.clo',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fithesis.dtx  (with options: `opt,12pt')
+%% 
+%% 
+%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
+%% authors listed elsewhere in this file.
+%% 
+%% For further copyright information, and conditions for modification
+%% and distribution, see the file legal.txt, and any other copyright
+%% notices in this file.
+%% 
+%% This file is part of the LaTeX2e system.
+%% ----------------------------------------
+%%   This system is distributed in the hope that it will be useful,
+%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
+%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%% 
+%% IMPORTANT COPYRIGHT NOTICE:
+%% 
+%% You are NOT ALLOWED to distribute this file alone.
+%% 
+%% If you receive only some of these files from someone, complain!
+%% 
+%% However, NO PERMISSION is granted to generate or to distribute a
+%% modified version of this file under its original name.
+%% 
+%% You are NOT ALLOWED to change this file.
+%% 
+%% 
+%% MODIFICATION ADVICE:
+%% 
+%% If you want to customize this file, it is best to make a copy of
+%% the source file(s) from which it was produced.  Use a different
+%% name for your copy(ies) and modify the copy(ies); this will ensure
+%% that your modifications do not get overwritten when you install a
+%% new release of the standard system.  You should also ensure that
+%% your modified source file does not generate any modified file with
+%% the same name as a standard file.
+%% 
+%% You will also need to produce your own, suitably named, .ins file to
+%% control the generation of files from your source file; this file
+%% should contain your own preambles for the files it generates, not
+%% those in the standard .ins files.
+%% 
+%% The names of the source files used are shown above.
+%% 
+\ProvidesFile{fit12.clo}[2015/01/09 fithesis3 (size option)]
+
+\renewcommand{\normalsize}{\fontsize\@xiipt{14.5}\selectfont%
+\abovedisplayskip 12\p@ plus3\p@ minus7\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
+\let\@listi\@listI}
+
+\renewcommand{\small}{\fontsize\@xipt{13.6}\selectfont%
+\abovedisplayskip 11\p@ plus3\p@ minus6\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6.5\p@ plus3.5\p@ minus3\p@
+\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
+\parsep 4.5\p@ plus2\p@ minus\p@
+            \itemsep \parsep
+            \topsep 9\p@ plus3\p@ minus5\p@}}
+
+\renewcommand{\footnotesize}{\fontsize\@xpt{12}\selectfont%
+\abovedisplayskip 10\p@ plus2\p@ minus5\p@
+\belowdisplayskip \abovedisplayskip
+\abovedisplayshortskip  \z@ plus3\p@
+\belowdisplayshortskip  6\p@ plus3\p@ minus3\p@
+\def\@listi{\leftmargin\leftmargini %% Added 22 Dec 87
+\topsep 6\p@ plus2\p@ minus2\p@\parsep 3\p@ plus2\p@ minus\p@
+\itemsep \parsep}}
+
+\renewcommand{\scriptsize}{\fontsize\@viiipt{9.5pt}\selectfont}
+\renewcommand{\tiny}{\fontsize\@vipt{7pt}\selectfont}
+\renewcommand{\large}{\fontsize\@xivpt{18pt}\selectfont}
+\renewcommand{\Large}{\fontsize\@xviipt{22pt}\selectfont}
+\renewcommand{\LARGE}{\fontsize\@xxpt{25pt}\selectfont}
+\renewcommand{\huge}{\fontsize\@xxvpt{30pt}\selectfont}
+\renewcommand{\Huge}{\fontsize\@xxvpt{30pt}\selectfont}
+
+\let\@normalsize\normalsize
+\normalsize
+
+\if@twoside
+   \oddsidemargin 0.75in
+   \evensidemargin 0.4in
+   \marginparwidth 0pt
+\else
+   \oddsidemargin 0.75in
+   \evensidemargin 0.75in
+   \marginparwidth 0pt
+\fi
+\marginparsep 10pt
+
+\topmargin 0.4in
+
+\headheight 20pt
+\headsep 10pt
+\topskip 10pt
+\footskip 30pt
+
+\textheight = 37\baselineskip
+\advance\textheight by \topskip
+\textwidth 5.0truein
+\columnsep 10pt
+\columnseprule 0pt
+
+\footnotesep 8.4pt
+\skip\footins 10.8pt plus 4pt minus 2pt
+\floatsep 14pt plus 2pt minus 4pt
+\textfloatsep 20pt plus 2pt minus 4pt
+\intextsep 14pt plus 4pt minus 4pt
+\dblfloatsep 14pt plus 2pt minus 4pt
+\dbltextfloatsep 20pt plus 2pt minus 4pt
+
+\@fptop 0pt plus 1fil
+\@fpsep 10pt plus 2fil
+\@fpbot 0pt plus 1fil
+\@dblfptop 0pt plus 1fil
+\@dblfpsep 10pt plus 2fil
+\@dblfpbot 0pt plus 1fil
+\marginparpush 7pt
+
+\parskip 0pt plus 0pt
+\partopsep 3pt plus 2pt minus 2pt
+
+\@lowpenalty   51
+\@medpenalty  151
+\@highpenalty 301
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty   -\@lowpenalty
+\@itempenalty     -\@lowpenalty
+
+\newif\iffichapters
+\fichaptersfalse
+\ifx\clsclass\Scrreprtcls\fichapterstrue\fi
+\ifx\clsclass\RapportIcls\fichapterstrue\fi
+\ifx\clsclass\RapportIIIcls\fichapterstrue\fi
+\iffichapters
+  \def\@makechapterhead#1{%
+    {\setlength\parindent{\z@}%
+     \setlength\parskip  {\z@}%
+      \ifnum \c@secnumdepth >\m@ne
+  \par\nobreak
+  \vskip 10\p@
+      \fi
+      \Large \ChapFont \thechapter{} \space #1\par
+      \nobreak
+      \vskip 20\p@
+    }}
+
+  \def\@makeschapterhead#1{%
+    {\setlength\parindent{\z@}%
+     \setlength\parskip  {\z@}%
+     \Large \ChapFont #1\par
+      \nobreak
+      \vskip 20\p@
+    }}
+
+  \def\chapter{\clearpage
+     \thispagestyle{plain}
+     \global\@topnum\z@
+     \@afterindentfalse
+   \secdef\@chapter\@schapter}
+
+  \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+  \refstepcounter{chapter}%
+  \typeout{\@chapapp\space\thechapter.}%
+  \addcontentsline{toc}{chapter}{\protect
+  \numberline{\thechapter}\bfseries #1}\else
+\addcontentsline{toc}{chapter}{\bfseries #1}\fi
+     \chaptermark{#1}%
+     \addtocontents{lof}%
+ {\protect\addvspace{4\p@}}
+     \addtocontents{lot}%
+ {\protect\addvspace{4\p@}}
+     \if@twocolumn
+     \@topnewpage[\@makechapterhead{#2}]%
+       \else \@makechapterhead{#2}%
+     \@afterheading
+       \fi}
+
+  %\def\@schapter#1{\if@twocolumn \@topnewpage[\@makeschapterhead{#1}]%
+  %        \else \@makeschapterhead{#1}%
+  %              \markright{#1}
+  %              \@afterheading\fi}
+
+\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus-1ex minus
+    -.2ex}{2.3ex plus.2ex}{\reset@font\large\bfseries}}
+\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus-1ex
+    minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize\bfseries}}
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-3.25ex plus
+    -1ex minus-.2ex}{1.5ex plus.2ex}{\reset@font\normalsize}}
+\def\paragraph{\@startsection
+    {paragraph}{4}{\z@}{3.25ex plus1ex minus.2ex}{-1em}{\reset@font
+    \normalsize\bfseries}}
+\def\subparagraph{\@startsection
+     {subparagraph}{4}{\parindent}{3.25ex plus1ex minus
+     .2ex}{-1em}{\reset@font\normalsize\bfseries}}
+
+\setcounter{secnumdepth}{2}
+
+\def\appendix{\par
+  \setcounter{chapter}{0}%
+  \setcounter{section}{0}%
+  \def\@chapapp{\appendixname}%
+  \def\thechapter{\Alph{chapter}}}
+
+\leftmargini 2.5em
+\leftmarginii 2.2em     % > \labelsep + width of '(m)'
+\leftmarginiii 1.87em   % > \labelsep + width of 'vii.'
+\leftmarginiv 1.7em     % > \labelsep + width of 'M.'
+\leftmarginv 1em
+\leftmarginvi 1em
+
+\leftmargin\leftmargini
+\labelsep .5em
+\labelwidth\leftmargini\advance\labelwidth-\labelsep
+
+\def\@listI{\leftmargin\leftmargini \parsep 5\p@ plus2.5\p@ minus\p@
+\topsep 10\p@ plus4\p@ minus6\p@
+\itemsep 5\p@ plus2.5\p@ minus\p@}
+
+\let\@listi\@listI
+\@listi
+
+\def\@listii{\leftmargin\leftmarginii
+   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+   \topsep 5\p@ plus2.5\p@ minus\p@
+   \parsep 2.5\p@ plus\p@ minus\p@
+   \itemsep \parsep}
+
+\def\@listiii{\leftmargin\leftmarginiii
+    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+    \topsep 2.5\p@ plus\p@ minus\p@
+    \parsep \z@ \partopsep \p@ plus\z@ minus\p@
+    \itemsep \topsep}
+
+\def\@listiv{\leftmargin\leftmarginiv
+     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
+
+\def\@listv{\leftmargin\leftmarginv
+     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
+
+\def\@listvi{\leftmargin\leftmarginvi
+     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
+\endinput
+%%
+%% End of file `fit12.clo'.
diff --git a/fithesis.cls b/fithesis.cls
new file mode 100644
index 0000000000000000000000000000000000000000..9ae11115199b6cf1eb50f9695382df5a46cd356d
--- /dev/null
+++ b/fithesis.cls
@@ -0,0 +1,528 @@
+%%
+%% This is file `fithesis.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% fithesis.dtx  (with options: `class')
+%% 
+%% 
+%% Copyright 1993 1994 1995 The LaTeX3 Project and any individual
+%% authors listed elsewhere in this file.
+%% 
+%% For further copyright information, and conditions for modification
+%% and distribution, see the file legal.txt, and any other copyright
+%% notices in this file.
+%% 
+%% This file is part of the LaTeX2e system.
+%% ----------------------------------------
+%%   This system is distributed in the hope that it will be useful,
+%%   but WITHOUT ANY WARRANTY; without even the implied warranty of
+%%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%% 
+%% IMPORTANT COPYRIGHT NOTICE:
+%% 
+%% You are NOT ALLOWED to distribute this file alone.
+%% 
+%% If you receive only some of these files from someone, complain!
+%% 
+%% However, NO PERMISSION is granted to generate or to distribute a
+%% modified version of this file under its original name.
+%% 
+%% You are NOT ALLOWED to change this file.
+%% 
+%% 
+%% MODIFICATION ADVICE:
+%% 
+%% If you want to customize this file, it is best to make a copy of
+%% the source file(s) from which it was produced.  Use a different
+%% name for your copy(ies) and modify the copy(ies); this will ensure
+%% that your modifications do not get overwritten when you install a
+%% new release of the standard system.  You should also ensure that
+%% your modified source file does not generate any modified file with
+%% the same name as a standard file.
+%% 
+%% You will also need to produce your own, suitably named, .ins file to
+%% control the generation of files from your source file; this file
+%% should contain your own preambles for the files it generates, not
+%% those in the standard .ins files.
+%% 
+%% The names of the source files used are shown above.
+%% 
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{fithesis}[2015/01/09 fithesis3 version 0.3.1 MU thesis class]
+
+\ifx\clsclass\undefined
+ \def\clsclass{rapport3}
+\fi
+\LoadClass[a4paper]{\clsclass}
+
+\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
+\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
+\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
+\DeclareOption{onecolumn}{\@twolumnfalse}
+\DeclareOption{twocolumn}{\@twocolumntrue}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\DeclareOption{color}{\gdef\@thesiscolor{true}}
+
+\ExecuteOptions{12pt,oneside,final}
+\ProcessOptions
+
+\RequirePackage{tgpagella}
+\RequirePackage{mathpazo}
+\RequirePackage{graphicx}
+\RequirePackage{cmap}
+\RequirePackage[T1]{fontenc}
+
+\def\Scrreprtcls{scrreprt}
+\def\RapportIcls{rapport1}
+\def\RapportIIIcls{rapport3}
+
+\ifx\clsclass\RapportIcls\else
+\ifx\clsclass\RapportIIIcls\else
+ \newcommand*\ChapFont{\bfseries}
+ \newcommand*\PageFont{\bfseries}
+\fi
+\fi
+
+\setcounter{tocdepth}{4}
+
+\input fit1\@ptsize.clo\relax
+
+\def\ps@thesisheadings{%
+\def\chaptermark##1{%
+\markright{%
+\ifnum\c@secnumdepth >\m@ne
+\thechapter.\ %
+\fi ##1}}
+\let\@oddfoot\@empty
+\let\@oddhead\@empty
+\def\@oddhead{\vbox{\hbox to \textwidth{%
+\hfil{\sc\rightmark}}\vskip 4pt\hrule}}
+\if@twoside
+ \def\@evenhead{\vbox{\hbox to \textwidth{%
+ {\sc\rightmark}\hfil}\vskip 4pt\hrule}}
+\else
+ \let\@evenhead\@oddhead
+\fi
+\def\@oddfoot{\hfil\PageFont\thepage}
+\if@twoside
+ \def\@evenfoot{\PageFont\thepage\hfil}%
+\else
+ \let\@evenfoot\@oddfoot
+\fi
+\let\@mkboth\markboth
+}
+
+\renewcommand*\chapter{%
+\if@twoside
+ \clearpage
+ \thispagestyle{empty}
+ \cleardoublepage
+\else
+ \clearpage
+\fi
+\thispagestyle{plain}%
+\global\@topnum\z@
+\@afterindentfalse
+\secdef\@chapter\@schapter}
+
+\renewcommand*\part{%
+\clearpage
+\thispagestyle{empty}
+\cleardoublepage
+\thispagestyle{empty}%
+\if@twocolumn%
+ \onecolumn
+ \@tempswatrue
+\else
+ \@tempswafalse
+\fi
+\hbox{}\vfil
+\secdef\@part\@spart}
+
+\def\universityname{Masarykova univerzita}
+\def\facultyname{Fakulta informatiky}
+\def\lowecasewrapper#1{\lowercase{#1}}
+\def\Fi{fi}
+\def\Sci{sci}
+\def\Law{law}
+\def\Eco{eco}
+\def\Fss{fss}
+\def\Med{med}
+\def\Ped{ped}
+\def\Phil{phil}
+\def\Fsps{fsps}
+\def\True{true}
+
+\def\Langcs{cs}
+\def\Langsk{sk}
+\def\Langen{en}
+
+\def\@thesislang{\Langcs}
+\def\@thesissubtitle{Diplomov^^c3^^a1 pr^^c3^^a1ce}
+\def\@thesislogopath{loga} % The loga directory by default
+
+\def\titlefont{\fontsize\@xxvpt{30}\selectfont}
+\def\thesistitle#1{\gdef\@thesistitle{#1}}
+\def\thesisstudent#1{\gdef\@thesisstudent{#1}}
+\def\thesisyear#1{\gdef\@thesisyear{#1}}
+\def\thesisplaceyear{Brno, \@thesisyear}
+\def\thesissubtitle#1{\gdef\@thesissubtitle{#1}}
+\def\thesislogopath#1{\gdef\@thesislogopath{#1}}
+\def\thesisuniversity#1{\gdef\@thesisuniversity{#1}}
+\def\thesislogo#1{\gdef\@thesislogo{#1}}
+\def\thesisadvisor#1{\gdef\@thesisadvisor{#1}}
+\def\thesisfaculty#1{\gdef\@thesisfaculty{#1}
+\def\@slash{/}
+\def\facultylogo{\@thesislogopath\ifx\@thesiscolor\True%
+  \@slash color%
+\fi\@slash\@thesisfaculty-logo}
+\ifx\@thesisfaculty\Fi
+ \ifx\@thesislang\Langen
+  \def\facultyname{Faculty of Informatics}
+  \def\universityname{Masaryk University}
+   \else \def\facultyname{Fakulta informatiky}
+  \fi
+ \else \ifx\@thesisfaculty\Sci
+  \ifx\@thesislang\Langen
+   \def\facultyname{Faculty of Science}
+   \def\universityname{Masaryk University}
+  \else \def\facultyname{P^^c5^^99^^c3^^adrodov^^c4^^9bdeck^^c3^^a1 fakulta}
+  \fi
+  \else \ifx\@thesisfaculty\Law
+   \ifx\@thesislang\Langen
+    \def\facultyname{Faculty of Law}
+    \def\universityname{Masaryk University}
+   \else \def\facultyname{Pr^^c3^^a1vnick^^c3^^a1 fakulta}
+   \fi
+  \else \ifx\@thesisfaculty\Eco
+   \ifx\@thesislang\Langen
+    \def\facultyname{Faculty of Economics and Administration}
+    \def\universityname{Masaryk University}
+   \else \def\facultyname{Ekonomicko-spr^^c3^^a1vn^^c3^^ad fakulta}
+   \fi
+  \else \ifx\@thesisfaculty\Fss
+   \ifx\@thesislang\Langen
+    \def\facultyname{Faculty of Social Studies}
+    \def\universityname{Masaryk University}
+   \else \def\facultyname{Fakulta soci^^c3^^a1ln^^c3^^adch studi^^c3^^ad}
+   \fi
+  \else \ifx\@thesisfaculty\Med
+   \ifx\@thesislang\Langen
+    \def\facultyname{Faculty of Medicine}
+    \def\universityname{Masaryk University}
+   \else \def\facultyname{L^^c3^^a9ka^^c5^^99sk^^c3^^a1 fakulta}
+   \fi
+  \else \ifx\@thesisfaculty\Ped
+   \ifx\@thesislang\Langen
+    \def\facultyname{Faculty of Education}
+    \def\universityname{Masaryk University}
+   \else \def\facultyname{Pedagogick^^c3^^a1 fakulta}
+   \fi
+  \else \ifx\@thesisfaculty\Phil
+   \ifx\@thesislang\Langen
+    \def\facultyname{Faculty of Arts}
+    \def\universityname{Masaryk University}
+   \else \def\facultyname{Filozofick^^c3^^a1 fakulta}
+   \fi
+  \else \ifx\@thesisfaculty\Fsps
+   \ifx\@thesislang\Langen
+    \def\facultyname{Faculty of Sports Studies}
+    \def\universityname{Masaryk University}
+   \else \def\facultyname{Fakulta sportovn^^c3^^adch studi^^c3^^ad}
+   \fi
+         \else
+          \def\facultyname{\@thesisfaculty}
+          \def\universityname{\@thesisuniversity}
+          \def\@thesislogopath{.} % The current directory by default
+          \def\facultylogo{\@thesislogopath/\@thesislogo}
+          \def\thesisplaceyear{\@thesisyear}
+         \fi
+        \fi
+       \fi
+      \fi
+     \fi
+    \fi
+   \fi
+  \fi
+\fi
+}
+
+\newif\if@restonecol
+
+\def\alwayssingle{%
+\@restonecolfalse\if@twocolumn\@restonecoltrue\onecolumn\fi}
+\def\endalwayssingle{\if@restonecol\twocolumn\fi}
+
+
+\newif\ifwoman\womanfalse
+\def\@w{\ifwoman{a}\else\fi}
+\def\thesiswoman#1{\gdef\@thesiswoman{#1}
+\ifx\@thesiswoman\True\def\@w{a}\else\def\@w{}\fi}
+
+\def\thesislang#1{\gdef\@thesislang{#1}}
+
+\def\DeclarationTextcs{%
+Prohla^^c5^^a1uji, ^^c5^^bee tato \expandafter\lowecasewrapper\@thesissubtitle{}
+je m^^c3^^bdm p\r{u}vodn^^c3^^adm autorsk^^c3^^bdm
+d^^c3^^adlem, kter^^c3^^a9 jsem vypracoval\@w\ samostatn^^c4^^9b. V^^c5^^a1echny zdroje, prameny a
+literaturu, kter^^c3^^a9 jsem p^^c5^^99i vypracov^^c3^^a1n^^c3^^ad pou^^c5^^be^^c3^^adval\@w\ nebo z~nich
+^^c4^^8derpal\@w, v~pr^^c3^^a1ci ^^c5^^99^^c3^^a1dn^^c4^^9b cituji s~uveden^^c3^^adm ^^c3^^bapln^^c3^^a9ho odkazu na p^^c5^^99^^c3^^adslu^^c5^^a1n^^c3^^bd
+zdroj.}
+\def\DeclarationTextsk{%
+Prehlasujem, ^^c5^^bee t^^c3^^a1to \expandafter\lowecasewrapper\@thesissubtitle{}
+je moj^^c3^^adm p\^{o}vodn^^c3^^bdm autorsk^^c3^^bdm
+dielom, ktor^^c3^^a9 som vypracoval\@w\ samostatne. V^^c5^^a1etky zdroje, pramene a
+literat^^c3^^baru, ktor^^c3^^a9 som pri vypracovan^^c3^^ad pou^^c5^^be^^c3^^adval\@w\ alebo z~nich
+^^c4^^8derpal\@w, v~pr^^c3^^a1ci riadne citujem s~uveden^^c3^^adm ^^c3^^bapln^^c3^^a9ho odkazu na pr^^c3^^adslu^^c5^^a1n^^c3^^bd
+zdroj.}
+\def\DeclarationTexten{%
+Hereby I declare, that this paper is my original authorial work,
+which I have worked out by my own. All sources, references and literature used or excerpted
+during elaboration of this work are properly cited and listed in complete reference to the due source.
+}
+
+\def\DeclarationTitlecs{%
+Prohl^^c3^^a1^^c5^^a1en^^c3^^ad
+}
+
+\def\DeclarationTitlesk{%
+Prehl^^c3^^a1senie
+}
+
+\def\DeclarationTitleen{%
+Declaration
+}
+
+\def\ThanksTitlecs{%
+Pod^^c4^^9bkov^^c3^^a1n^^c3^^ad
+}
+
+\def\ThanksTitlesk{%
+Po^^c4^^8fakovanie
+}
+
+\def\ThanksTitleen{%
+Acknowledgement
+}
+
+\def\AbstractTitlecs{%
+Shrnut^^c3^^ad
+}
+
+\def\AbstractTitlesk{%
+Zhrnutie
+}
+
+\def\AbstractTitleen{%
+Abstract
+}
+
+\def\KeyWordsTitlecs{%
+Kl^^c3^^ad^^c4^^8dov^^c3^^a1 slova
+}
+
+\def\KeyWordsTitlesk{%
+K\v{l}^^c3^^ba^^c4^^8dov^^c3^^a9 slov^^c3^^a1
+}
+
+\def\KeyWordsTitleen{%
+Keywords
+}
+
+\def\AdvisorTitlecs{%
+Vedouc^^c3^^ad pr^^c3^^a1ce:
+}
+
+\def\AdvisorTitlesk{%
+Ved^^c3^^baci pr^^c3^^a1ce:
+}
+
+\def\AdvisorTitleen{%
+Advisor:
+}
+
+\def\DeclarationText{%
+\ifx\@thesislang\Langcs
+ \DeclarationTextcs
+ \else \ifx\@thesislang\Langsk
+  \DeclarationTextsk
+  \else \ifx\@thesislang\Langen
+   \DeclarationTexten
+   \else \DeclarationTextcs
+  \fi
+ \fi
+\fi
+\vskip 2cm
+\hfill\@thesisstudent
+}
+
+\def\AdvisorName{\par\vfill{
+\ifx\@thesislang\Langcs
+ \bf \AdvisorTitlecs
+ \else \ifx\@thesislang\Langsk
+  \bf \AdvisorTitlesk
+  \else \ifx\@thesislang\Langen
+   \bf \AdvisorTitleen
+   \else \bf \AdvisorTitlecs
+  \fi
+ \fi
+\fi} \@thesisadvisor}
+
+\def\FrontMatter{%
+\pagestyle{plain}
+\parindent 1.5em
+\setcounter{page}{1}
+\pagenumbering{roman}}
+
+\newcommand{\ThesisTitlePage}{
+\begin{alwayssingle}
+\thispagestyle{empty}
+\begin{center}
+{\sc \universityname\\ \facultyname}
+\vskip 1.4em
+
+\includegraphics[width=40mm]{\facultylogo}\\[0.4in]
+
+\let\footnotesize\small
+\let\footnoterule\relax{}
+{\titlefont\bf\@thesistitle\par\vfil}\vskip 0.8in
+{\sc \@thesissubtitle}\\[0.3in]
+{\Large\bf\@thesisstudent}
+\par\vfill
+{\large \thesisplaceyear}
+\end{center}
+\end{alwayssingle}
+\newpage}
+
+\newenvironment{ThesisDeclaration}{%
+\begin{alwayssingle}
+\ifx\@thesislang\Langcs
+ \chapter*{\DeclarationTitlecs}
+ \else \ifx\@thesislang\Langsk
+  \chapter*{\DeclarationTitlesk}
+  \else \ifx\@thesislang\Langen
+   \chapter*{\DeclarationTitleen}
+   \else \chapter*{\DeclarationTitlecs}
+  \fi
+ \fi
+\fi}
+{\par\vfil
+\end{alwayssingle}
+\newpage}
+
+\newenvironment{ThesisThanks}{%
+\begin{alwayssingle}
+\ifx\@thesislang\Langcs
+ \chapter*{\ThanksTitlecs}
+ \else \ifx\@thesislang\Langsk
+  \chapter*{\ThanksTitlesk}
+  \else \ifx\@thesislang\Langen
+   \chapter*{\ThanksTitleen}
+   \else \chapter*{\ThanksTitlecs}
+  \fi
+ \fi
+\fi}
+{\par\vfill
+\end{alwayssingle}
+\newpage}
+
+\newenvironment{ThesisAbstract}{%
+\begin{alwayssingle}
+\ifx\@thesislang\Langcs
+ \chapter*{\AbstractTitlecs}
+ \else \ifx\@thesislang\Langsk
+  \chapter*{\AbstractTitlesk}
+  \else \ifx\@thesislang\Langen
+   \chapter*{\AbstractTitleen}
+   \else \chapter*{\AbstractTitlecs}
+  \fi
+ \fi
+\fi}
+{\par\vfil\null
+\end{alwayssingle}
+\newpage}
+
+\newenvironment{ThesisAbstracten}{%
+\begin{alwayssingle}
+\chapter*{\AbstractTitleen}
+}
+{\par\vfil\null
+\end{alwayssingle}
+\newpage}
+
+\newenvironment{ThesisKeyWords}{%
+\begin{alwayssingle}
+\ifx\@thesislang\Langcs
+ \chapter*{\KeyWordsTitlecs}
+ \else \ifx\@thesislang\Langsk
+  \chapter*{\KeyWordsTitlesk}
+  \else \ifx\@thesislang\Langen
+   \chapter*{\KeyWordsTitleen}
+   \else \chapter*{\KeyWordsTitlecs}
+  \fi
+ \fi
+\fi}
+{\par\vfill
+\end{alwayssingle}
+\newpage}
+
+\def\MainMatter{%
+\if@twoside
+ \clearpage
+ \thispagestyle{empty}
+ \cleardoublepage
+\else
+ \clearpage
+\fi
+\setcounter{page}{1}
+\pagenumbering{arabic}
+\pagestyle{thesisheadings}
+\parindent 1.5em}
+
+
+\renewcommand*\l@part[2]{%
+  \ifnum \c@tocdepth >-2\relax
+    \addpenalty{-\@highpenalty}%
+    \addvspace{0.5em \@plus\p@}%
+    \begingroup
+      \setlength\@tempdima{3em}%
+      \parindent \z@ \rightskip \@pnumwidth
+      \parfillskip -\@pnumwidth
+      {\leavevmode
+       \normalfont \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
+       \nobreak
+         \global\@nobreaktrue
+         \everypar{\global\@nobreakfalse\everypar{}}%
+    \endgroup
+    \addvspace{0.2em \@plus\p@}%
+  \fi}
+
+\renewcommand*\l@chapter[2]{%
+  \ifnum \c@tocdepth >\m@ne
+    \addpenalty{-\@highpenalty}%
+    \vskip 1.0em \@plus\p@
+    \setlength\@tempdima{1.5em}%
+    \begingroup
+      \parindent \z@ \rightskip \@pnumwidth
+      \parfillskip -\@pnumwidth
+      \leavevmode \bfseries
+      \advance\leftskip\@tempdima
+      \hskip -\leftskip
+      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      \penalty\@highpenalty
+    \endgroup
+  \fi}
+
+\renewcommand*\l@chapter{\@dottedtocline{1}{0em}{1.5em}}
+\renewcommand*\l@section{\@dottedtocline{2}{1.5em}{2.3em}}
+\renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
+\renewcommand*\l@subsubsection{\@dottedtocline{2}{7.0em}{3.8em}}
+
+\endinput
+%%
+%% End of file `fithesis.cls'.
diff --git a/fithesis.pdf b/fithesis.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..9567ce23b9551d551a96bff839f9f66a80a0c30a
Binary files /dev/null and b/fithesis.pdf differ