change some function name to follow the Google cpp style guide
add report progress routine
publish resource to server when add new upload job