add basic kstat sturcts and functions