Text framework

progress so far.