add support for persisting one-to-many associations
proper equality definition for entities