Added JpgeWriter class