Fix bin/fac classify?

1. Fix snapshot version in bin/fac script
2. Fix generated code to use correct imports and trainer by default