Submitting rough draft of the connection implementation.