Filling the Bean Dynamically

Updates to controllerhelper and helperbasech4 to dynamically fill the
beam