docs updated
added editorconfig
prototype refactor