A bit nicer REST API definition.
More effort towards RESTful API design and a factored out most of the code out ot he ImageServiceRest class