added gzip function and cleaning up solution

Hi,

I added gzip to the service call and cleaned the solution (removed unused stuff)

Regards
Enno