Replaced Arrays with objects for Associative functionality.
Replaced append and find logic.