BlockContexr: add cmf context manager