Make category and subcategory model and associations, delete old category attribute, and change category filter