updated service provider

- structure and usage of inheritance and interfaces.
- details of service provider.