Refactored game event handlers into the game event package.