refactor: Use JoinUtility in client loading and purging

Update code to use Join classes instead of
directly inserting into join tables through sql

Change-Id: I8e7382983cfe1a3cd4cc86284e07d3a6d52cf159