Added SPMJPGStream class