Simplify Text model
Improve text node factory