Add ability to manage categories

Closes #29