initialized mutexes
prep work for multithreading
Now with Multithreading