integrate newton engine ,make compile success
make newton engine runnable