key events
root() function
split index.js into smaller files