added support for creating categories
refactoring
Merge pull request #8 from cs27x/feat/add_categories

added support for creating categories