fix the pmi bug

in lod pmi the p(t1, t2) = count / n, but the corret is count /  n2
fix the structure unsuitable

add all source and __init__ to one source folder