introduce dynamic routing for REST controllers. closes #14