added a pages cntroller
Removed default index file
finished layout and routes