added connection class
added Owners class
changed connection class
added register function