Logging first part
Adding ConfigureAwait to all await points to avoid deadlocks on syncronizationcontexts. Fixed #11