made pgm.clj to clean both of old programs and communities
enabled heuristic caching