Streamlined command creation to an object and function with single point of change.
Not a working build, but I wanted to get this on my github.