added pub/sub to context http vis instead of cross-class coupling