add editorconfig and change tabs to spaces