introduce managed brick: single dependency, managed lifetime