Moved Initialization logic to MainMenu function