Added Predictor DB

Enabled Predictor DB to support predictions of future traffic. This
implies other major changes across the code.