register

Registers a command to be registered with the server. Must be called before initialize().