Refactor URL Loading and Dispatch

* Use host aware URLs instead of building multiple maps
Merge pull request #121 from sharoonthomas/feature/task-3434

Refactor URL loading and dispatch #3434