make the resource singleton
experiment
upgrade to jersey 2.5.x