Code refactoring

The old crawler was changed to text.rb
The new crawler was packaged into a class.
A new driver is provided to show how to run clawler.rb