variable datapath + dropdown constructor method

new method is called "fetchClassLists"