Major Changes in ChooseMain.class.php