Created models, controllers and has_many through association