replaces reourceProvider with stateProvider
Merge pull request #8 from scottjason/stateProvider

replaces reourceProvider with stateProvider