changed data service to a provider so that the getters can be used in re...

...solve blocks