applied changes to use the latest Dropwizard library (dropwizard.io)