Implement the user defined box as a class
Description
Implement the user defined box as a class. This MR also adds a test for this type of box.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.