adapt communities to dispersy per-class logger + pep8 fixes