add getProjectByCode functionality