s/payloadSet/payloads
cleanups in main
fix bugs
server facts