added foreign keys to models
Merge pull request #9 from Ank13/models

added foreign keys to models