started applying the  necessary changes to support a cfg file

cmdline options will override those specified through the cfg file
example configuration file
using the cfgfile now woks

labels for shard nodes are also supported (well ... required in this case)