add missing TextFormatter docstrings
docstring remaining code
remove .py extension