add type support and default type is xtpl
v0.1.0