Made the Connection class