added Shell class, integrating mShell and mCommand classes