added editorconfig and various improvements to configuration