Initial subtree merge with klib

Signed-off-by: Markus Pargmann <mpargmann@allfex.org>