updated all service definitions to make their classes configurable