To create group, click on the action icon as illustrated, and select New Group.
To move a cube or a group of cubes, click on the Move icon, then while keeping the mouse button pressed, drag and drop the cube or the group to the new desired position.
It is possible to reorder cubes within a group, to move a cube from one group to another or to move a whole group of cubes.