Add basic emitter code
Implement mapLevels()