added .editorconfig and package.json refactored