Refactoring and Initialize game