Added map approach to processing input.
Merge pull request #2 from robertjgtoth/dev

Added map approach to processing input.