ks framework