RedHelp server code. A restful service made to be consumed by android client mainly.