added models, test, migration, for category