Added a MainController (bound to html elem) and a Page object via factory, to share.