[Shell] Modified shell architecture and command creation mechanism.