Advanced search for the configuration files

Search for config file up to the system root and in the home directory

Fixes #250