add README and fix get pid