Added methods to load and safe hash map