Configure confpath
Improved configuration parser