first draft of connect method
Merge branch 'master' of github.com:aleksanb/fellesprosjektet