rename token tree to ttree
create type-of class
remove typename method
add simple types
add composite types