Game state engine updated to fit in event system