Moved all node connections to a Connections class