create api, mainviewcontroller layout