added Category objects and tests and give all functions a name