refactor: get rid of SocialSemanticServerClientSide library
refactor: generalize service invocation and result handling.
categoriesPredefinedGet refactored to use the new pattern.