edited models
fixed typos in models, tally > :tally and added corresponding belongs_to