Upgrade server to parse resource URIs to handler functions. Add debug selector to load/save different maps.