ADDED:Category model and controller implementation