Added entities collection. Added NodeDAO class.