Further replace all REST calls with emulators
Merge pull request #4285 from PerilousApricot/feature/more-abstraction

Further replace all REST calls with emulators