Intital version of module, now creates the files - needs a bit more in the way of debug notifications