more work on settings - move template utils to utils and get rid of mods