added controller and model to app