Adding GifDecoder class