Updated shell interface

Updated shell interface with dynamic command recognition.