minor changes in message format
storing directory data in the dump db (== madfile.all)
many minor changes / added some mongo functions