added decoder/schema creation support
miscellaneous updates and bug fixes