Update project.cpp

Most functions should be left in project.cpp, it's messy but it's has a better guarantee of working. I tried putting some functions in parserClass.cpp but there were more errors.