added models and migrations
changed item_type and item_id to polymorphic relations
modified models for associations