Backend for ks framework