main: use yaml instead of json
main: store slave configuration in Config
all: cosmetics
all: put the date in tmpdir name