Fix all compile error, finish class UploadTask, add JobMap in class CoolClient