Refactor add project