Created connections class, updated Node class to reflect changes.