Move settings to a module