Map: Turn some locals into members of Map

Map should keep track of these data
Map: Add updateBatch() function
Add Editor module
Merge pull request #2 from crumblingstatue/editor

Add Editor module