adding basic rest api using dropwizard