refine config
add consts to kernel
move some consts to kernel consts