Added multithreading for some operations
Added multithreading for some operations