new pref ui, changed directories, improved build system