move common kb consts and var to kb.go