Updated prediction for to use postgres. Updated semantics to new file names.