Added support for adding and deleting connections and boxes. Also added support for box insertion.