maps REST URIs to class methods