Domain Model Changes.

Changed Category and Sub Category relationship, added code column to
category and sub category.