Fix project creation with multiple sources
Refactor synthetize with class