Clean up the CapsuleCRM and Connection classes