create base of controller, views and templates