Added Header & Footer, rerouted main method