add xdm support
improve installation script and emacs config; add root/ for system configs