Update parser.go

remove Handler interface(moved to handler.go)