Added text writing option.
Added text layout.