Bug fixing and add xpath preliminary support
Add listening basic function