factored out bezierboxes into their own namespace