Internal API improvements, move todo files to docs/mt/
Internal API, typed enums, DocEngine migration, transaction fix