Simple shell implementation.