Fixed require statements in application.js, added init and routes to main router, instantiated main router