add reusable GIFRenderer class