Added state support so we can end and start the game

Added state support so we can end and start the game