Switch to a configuration based approach for handing the URI to pid mapping