Created connection class with base functionality and full passing tests