repack and add exception handling for jersey
Trial with profiles...