Added Command registration Support!

Needs documentation