rename controllers/main.coffee to controllers/ControllerManager.coffee and use baseUrl for controllers
use  in RivalController