Now supporting a basic shell

(1)Fixed the error in function commandConfig()
(2)Fixed the strdup() again
(3)Moved the Shell related function into shell.c