Changes made by Jeff Harwell - a bit more error handling, takes the data directory as a command line argument, uses cassandra as web corpus backend.