Remove ds.class.remote_path parameter.
Improve logging, add thread name for thread-related messages.
Code cleaning.