somecleanup and game initializatoin logic