Implemented the summarizer. Working.
Some minor modifications.