continue refactor

'merge' now support input from zip file
use 'bufio.Scanner' instead of 'bufio.Reader'