adds base class to establish connection
Merge pull request #1 from onweapps/adam/base

adds base class to establish connection