add async for fromlayer
add message notification in async
finish async for layers