Add a shell command for creating connections

Issue #13: add a shell command for creating connections