add main() with pymongo interaction
tf-idf is compilable