refactor some code.

1. refactor code in news processor, put extracting related code into
other scripts.
2. add little script to peep blocks.(not finished)