Add tests for title, addItem and removeItem
refactor #addItem to take checked state arg
Refactor to provide an event emitter interface
Update event naming
Fix checkbox state handling and associated events
Add example map key event usage in main.js