another temp fix, seems still didn't work
change main entry to class, and rewrite hooks
add forgotten menu option
Merge pull request #8 from mmis1000/master

fixxxxx hooks, and reconstruct main entry