extract data dumper to another class, add dumping data in abstract worker