spearated generator project and main project