changed method position in class
initial support for mjpeg client