Made connection manager a singleton