add basic connector mechanism with simple tests