cleaned up templates and started on pages mvc.