Added the ability to register commands through the command config. Can register command directories too