Refactoring ProjectDAO