+\chapter[The mTask-EDSL]{The \gls{mTask}-\gls{EDSL}}\label{chp:mtask}
+\input{methods.mtask}
+
+\chapter[Extending the mTask EDSL]{Extending the \gls{mTask} {EDSL}}\label{chp:mtaskcont}
+\input{results.mtask}
+
+\chapter{System Architecture}\label{chp:arch}
+\input{results.arch}
+
+\chapter{Discussion \& Conclusion}\label{chp:conclusion}
+\input{conclusion}
+
+\appendix\label{chp:appendix}
+
+\chapter{Communication protocol}\label{app:communication-protocol}
+\input{appendix-protocol}
+
+\chapter{Device client interface}\label{app:device-interface}
+\input{appendix-device-interface}
+
+\cleardoublepage{}
+\phantomsection{}
+\addcontentsline{toc}{chapter}{Bibliography}