Created a basic dynamic command registering util. This will become
extended in the feature.