added views files and routes to them.