Has_many relationships added.
Corrected tables.