added models, test, migration, for category

renamed manager to restaurant