Wrote new commands for changing mode in interpreter

Signed-off-by: Tushar Pankaj <tushar.s.pankaj@gmail.com>