Srb/migrations and models

Much add_many, many belongs_to, WOW.