Separated a generation logic to the another project.