On the algebra of feedback and systems with boundary