added skeleton category model with unit tests

added a model for categories and unit tests for the basic model functionality