Begun implementing multithreading