The Theory of Ecological Communities