Dynamics of a community of communities