added Category model and associations