Add function for writing text in document
Add module to show control points with index and position
Add replace functions