Updated to HashMap. Added config file.