Encode now supports multiple formats, still working on decoding them nicely.
Unfortunately, python does not do import in a nice way without using the full bore module system, I'll deal with that another day.