added Repository::createEntity() for default entity creation (suggested in #8)