Ability to get providers from the service locator

Added possibility to get providers from the service locator