Wrote a simple sprite manager.