Modeling Epidemics On Networks Of Connected Communities