move all libraries to the lib directory
cleanup: make create operating mode combobox its own function