Add documentation to for functions
Add editorconfig for all file types