Split main Textress file into multiple smaller classes.
Also added smaller improvements here and there.