added App logic to run game