ENH:finish the framework of system