change interface
use bufio. do not use parser.go
remove parser.go
change interface and code cleanup