added rich client to make calls to client less verbose in a scala environment.
added workaround for eq method in EqualsExpressionFactory