remove obsolete files and rename Producer to ThreadCounter