Changed processString to processCommand in response to changes in Controller method
Use controller singleton