Did some code cleanup, added .editorconfig, cleaned up index.html