a simple framework of off-line data deploy