create the maincontroller