Dep inversion

I created a simple test of the happy path just to make sure it would build.  I need help making an array of callbacks for the registered commands.  Right now you can only register one.  I get a compiler error when I try and google wasn't forthcoming with a solution.