update config variable.
improve testability
fix dc
get ride of configHelpers.HOME
assign once for all loaded plugins
fix the doc
fix the doc
improved tests