Made command registry.

Streamlined the process of adding new commands.