Moves header and footer to separate files. Enables logger