\documentclass{comnets}
%\usepackage[ngerman]{babel}             % German language 
\usepackage[english]{babel}            % English language
\begin{document}

\author{The Student Name}
\newcommand{\matriculationnumber}{1234567}
\date{24.12.2025} % Submission date
\title{The Title of my Work}
\newcommand{\firstexaminer}{First examiner}
\newcommand{\secondexaminer}{Second examiner}
\newcommand{\supervisor}{Supervisor}
\newcommand{\thesistype}{Master thesis in Electrical Engineering and Information Technology}
%\newcommand{\thesistype}{Bachelor thesis in Electrical Engineering and Information Technology}

% Some minimalistic PDF metadata
\makeatletter
\AfterPreamble{\hypersetup{
  pdfauthor={\@author},
  pdftitle={\@title}
}}
\makeatother

\pagenumbering{roman}
\setcounter{page}{1}
% Insering title page 
\IfLanguageName{ngerman}{
    \include{assets/titlepage_de}                 % Title page in German
}{
    \include{assets/titlepage_en}                 % Title page in English
}

% Insering declaration page
\include{assets/declaration.tex}
% Insering abstract page
\include{extra/abstract.tex}

% Creating table of contents
\tableofcontents
% Creating table of figures and tables
\listoffigures
\listoftables

\cleardoublepage
% Arabic page numbering
\pagenumbering{arabic}
\setcounter{page}{1}

% Insert the chapters:
\include{chapter/introduction}
\include{chapter/related_work}
\include{chapter/background}
\include{chapter/methodology}
\include{chapter/results}
\include{chapter/discussion}
\include{chapter/conclusion}

% Inserting Reference page
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plain}
\bibliography{extra/reference}
%\cleardoublepage
\end{document}