implemented chunked upload class