fix null case
added appId to community
community already created check
fix toCommunity
readEntities implementation
test improvement
merged RepositoryUtils
test improvement