Base commit

Added multi-threading
Added cURL logging
Errors fixed