Refactored into modules with each entity in the game.  Some entity's attributes are being passed around using 'this'.  This is a temporary change and a better framework should be used for dealing with it.