Fixes for exception with weka based predictions
Added factories for liveness prediction