Previously, the arc was entirely created in the GuiCommand definition. The code to create only the arc is placed inside a module so that the function can be used in scripting from the terminal, without a graphical interface.
2020 February
At the moment these object functions aren't used.
When the Draft tools are eventually split into individual modules, the code of the object creation functions should be placed here.