Refactor: extract module: config._local & move base config in root