Removed all JAX-RS enpoints except for a catch all, and deferred url handling to the InternalResource factory.