ZER - Refactored some code

Added the ability to deal with a multimap dictionary.