refactoring createCommunity
documentation
refactoring getCommunityWithId
refactoring the last bits of the community api controller