[Tool] Add configuration generation.