Algebraic Defects And Boundaries In Integrable & Topological Systems