reflection: fixed isTypeEntity()
repository: added createCollection()