Created skeleton of the class for running uploads in a new thread.