The invention comprises a method and apparatus for controlling tumor treatment, comprising the steps of: (1) a control system controlling a cancer therapy system, the control system comprising a set of modular control units, the cancer therapy system comprising a set of subsystem elements, (2) altering a first subsystem of the set of subsystem elements; and (3) updating a first modular control unit, of the set of modular control units, corresponding to the first subsystem without a necessitated change of remaining code elements of the set of modular control units corresponding to non-altered subsystem elements of the set of subsystem elements with an optional step of altering main subsystem controller code configured to control the set of subsystem control modules. Optionally the control system directly controls each of the subsystem elements and/or communicates with each of the set of subsystem elements without direct communication between the set of subsystem elements.