[Python] Created python file hierarchy, and test media encodes.
[Envelope] Reworking things to harmonise with OB.
[Envelope] Refactoring, putting OSX envelope project up to date.
[Envelope] More refactoring and compile error fixing.