added setMode to Scanner interface
updated README