WIP: new BoundaryLayer class.