added controllers and models