Basic connection. OO design