Add editorconfig and reformat