fixed findEntities a little
persist method gives repo link to new entity
fitsCriteria method, getRepository is now private, new hasRepository method
removed fitsCriteria
findEntities emthod
fixed findEntities
fixed anonymous func extractIds in findBy method