py-7: __name__ var always contains module name,

except __main__ when running
py3-17: a stats handling plugin framework,

yaml reader and csv write added