added base webservice for writing pixeldata