Refactor syntax unicode fileformat

Initial version of 7.0 fileformat - will need revision, but should be good enough to starting testing unicode.