Major refactoring after model change. Created entity PtClientAssociation.