Add basic connect

Fixes #5