moved anchoredText functionality to new file
removed text related code