added Connection class