added cosine simuliarty ranking module