Update kazbase and write some more docs