Adding animated background functionality. Starting reconstruct the sprite class