added TodoWriter class