Added footer and header to single view
Separated index view and homepage view