Documentation and refactoring
Decoupled, implemented write
Implemented insertation
Test for dynamic text insertation added