Created Connection class