Wrote the text editors content management class and commented it