modularize URI mapping, reducing code size and adding more easily extensible mapping functionality going forward. code cleanup and normalization.
version bump. v0.1.2