Add an rm file command to shell

refactor simple shell to make it easier to add new commands