Make config system less home-oriented and more robust

closes #14