add trivial configuration file support
enable ndmpd to load its properties
mark some if 0 code as for keeping and delete others