rename config to main