Created model for category generator.