add branch tab generation.

Signed-off-by: Wilfried Chauveau <ithinuel@gmail.com>
some refactor on chunk, temporary memmgr implementation update

Signed-off-by: Wilfried Chauveau <ithinuel@gmail.com>