file sync and client file table finished

1. finished file sync at both client and server side.
2. made file table work at lient side.
3. defined peer download and upload function interface to be filled.

Signed-off-by: Hongyi Jia <Hongyi.Jia.GR@dartmouth.edu>