Added clearDatabase() method to ParallelExtractor.
Used for resetting the database between runs.