Add editorconfig file
Refactors
Add README.md
Bug fixes