In this commit I got the sprite manager to function. Basic functionality. It is however, really gross and I want to clean it up. This commit is in case cleaning it breaks it too far.