Small fixes for Engine class

the engine class need to be implemented, it is not implemented yet.