simplemond - fixed counting of readers/writers.
implemented reader and logger.