mv data.js to data/index.js
mv editor.js to editor/index.js
extract select from editor - part 1