Moved all definition-reading code into Game.parse function, made it now check node names and fail gracefully