Move the sprite class into the core of KGLT