\documentclass{thesis}
\input{setup.tex}

\begin{document}
\maketitle
\tableofcontents

\mainmatter
\input{chapters/intro.tex}

\bibliography{ref/refs}

\backmatter
\input{chapters/acknowledgements.tex}
\end{document}