added sample lib, keylib