abstracted header into its own file
abstracted footer into an include
changed footed and added a module template