changes to make this a jaxrs webapp