Added command environments. Command environments allow command subsets t...

...o be loaded and unloaded at runtime.