added more commands to terminal interface