CONTENTdm: Replace project client functions with one function

WIP