last crap commit.
better transcoding support.

also renamed inputFormat to originalFormat.
fixed module mode loading.