added category to database and data model