\documentclass[
    paper=a4,
    pagesize,
    bibliography=totoc,
    headings=big,
    captions=tableheading,
    chapterprefix=true,% like in standard class "report"
    BCOR=2cm,
]{scrbook}

\usepackage{commands}
\usepackage{listings}
\usepackage{config}
\usepackage{listing-config}

\begin{document}
\let\rawref\ref%
\renewcommand{\ref}[1]{\rawref{#1} (page~\pageref{#1})}

\frontmatter

\listoftodos{}

\vspace{2cm}

\copied{}
\noindent Text copied from other articles will be in this color

\fresh{}
\noindent Text that was freshly written will be in this color

\resetstyle{}
\quad\\
This version was compiled on \today{} at \currenttime{}.

\makeflyleaf{}

\tableofcontents

\input{plan}

\bibliography{src/bib.bib}

\end{document}
