Added New Project endpoint
Moved some of the project logic into a separate helper file