create app and controllers