Add xdg-basedir

Closes #136