Framework for defining, introspecting and using services and providers of such