adds controllers and models