refactoring init.el into editor.el; some refactoring of package.el