generated controller and models