adding some working networking stuff
adding a class to render and send the pictures