Creates category model