Starting on Boxes

Having problems handling boxes, need to rewrite some sections that
assume all path elements are lines