Add mutex to dataStore class