implemented base layout, configured routing and added pagecontroller