remove unused diff_engine class