Added .editorconfig and updated build script