Refactored some of the direction code after the addition of objects, cleaned up the main game file so no areas are broken