add basic models for Purchase, Tag, migration