Adding stop method to the shell
Adding quit pragma