revised models and migrate files

Made revisions after lecture on has-many through.