Moved Driver to c++11 locks