[ADD] All Block-based API
[MOD] Thread handling.