Add save and restore state command in Kernel Module
Add save and restore riffa api