Added MjpgWriter class