Fixed a few bugs, added direction and speed to sprite objects