refactoring, rm some used classes, rename some classes, and rm the methods in Checker, rm the weigh field for MemEdge