MapEvent class and Items class support worked on

Merge pull request #14 from brentspector/master
This is a manual merge after fixing conflicts.