added migration and associations
Merge pull request #1 from krauzer/anthony

added migration and associations
merge anthony's changes