#41 Added functional for work with communities
some change