adds base class to establish connection