Update client struct

1. Update client struct
2. Add Pinfo and Perr functions
3. Optimize GetFileList functionality