moved gen_config to the tools directory to keep main directory clean