Added Command registration Support!

I don't think ownership of classes was allowed, but I would like confirmation on that