Add initial implementation of connection manager