Refactor

After three long weeks, the great refactor is complete! We now have the basis of a game engine!