adding controllers and models