Minor bug fixes
Adds a class for managing categories
Now requires PHP 5.4.3+