created WordProcessor class