add ps-doctor
refactor PYPContext.java
fix bugs after refactor