added engine class
fixed Cmake issue