Basic implementation of shell