moved some logic from view to model
Merge pull request #46 from mule-deer-2013/seeding

moved some logic from view to model