ENH: reorganize the code and put the APISettingsPopup and ClinicalDataPopup into TCIABrowserLib