From Homological Algebra To Topology via Type B Zigzag Algebra and Heisenberg Algebra