Created template for views
Removed includes (template will do the includes)
Fixed page calling