Namespace the c++ code.
Implement connection methods.
Fix an old usage.