Fixing #28 : add category feature

"La troisième est la bonne" as we say :) 
So improves:
- organized the imports (maybe the source of the conflict for the last PR)
- updated adding categories to check if a category already exists in DB
- added a better support for return message (success or error)