Added basic connection class.