Added functions to create an EDI string from struct

  - Also added some missing EDI tags to the struct creation