added boolToString method to util
implemented categories db and test methods
renamed tests
removed debug output
improve getCategories to be able to just fetch one