Started implementation of Connection class.