setup basic connection.