Have module parts return epics variables as a data structure
Currently they parts write directly to the files, which is pretty buggy and hard to maintain. IPCx part now returns a data structure. If all parts did, header and EPICS file generation could all be based on one long list of EpicsVariable data structures.