finished local versions of tf-idf. working on adding s3 support