Created a big portion of "Create project" logic.