Initial TE support

Imports/export are saved for next commit, need more examples/research.

Here is TE example file - http://xvilka.me/example.te