first commit. made uploads in new threads