Added multithreaded mapper