Added Command registration Support!

no empty line after this one.