added MainController; more bootstrap config