Added Connection class and test. Test passed