initial working version of the 2nd generation api
fix joining waitds
explicit stream locking
remove unused vars
remove dumper task
remove "module" call
Mention v2 API