refactoring new framework

Signed-off-by: quan <quan@lequana2>