adding license and updating comments
HashMap that supports multiple instances