Implemented the cToolRegistrator class.
/none, /repl and /tool use the new way of registering tools.