modularization and otimization of project