wip
add merge
fix global references in merged namespace
add async decoration