added local transactional api code
updated spec for Cheetah::Cheetah
simplify