service locator as singleton
math service for jvm