Making fancy command registration.
Adding spawn command.