Refactor config into config_localhost.json