Move config into util.lua

Mode changes for files

Add util module and move first helper function into it

(0) -3 +3 +10 tip

mercurial