Generate module codes in the project