add utf-8 encoding for urls (japanese support)
add logging system