Moved admin routing to admincontroller.js and started on functions to allow creation of new pages.