Created a model to enter and leave so that most parameters don't have to
be repeated during the shell usage.