use generator to generate the project