Added db model associations and set up CRUD controllers and html pages.