A simple shell implementation