Added parse_command() and sys_exit() to shell