refactored the game log parser