Refactoring. Trying to make DbIngestThread run from maven.