remove spring. And add dropwizard-hibernate