extracted CRM connectivity to stand alone class