cleanup .gitignore
added .editorconfig
reformated files to follow 2 spaces indentation convention