Added lib curl and incorporated Alex’s updates in send report and send record to database.