Implemented basic connection management system

TODO: detect & register connection problems