Creating a ThreadSafeMapper to cache out the mappings