added editorconfig, modified positioning functions