[chunks] extract to plain memory
cleanup base.h
[core] implement streams on chunkqueues