Revert "initial work to add support to service URL mapping"

This reverts commit f86bc3d72b4b73ebbc0544fb8617b1d5611b7c00.
added support for subpaths. This is a temporary hack