Added main controller, routes, and prepared app to be single-page