rename internals
fix requuire
add test for dataset stream