exposing functionality of LanguageService as Rest web service