Fixed generated code for repo.Flag
All HashSet<Entity> now using EntityEqualityComparer
Added MIT License