added async constructor + fixed examples