One thread safe map implention