added client/server code to image acquisition side of things