Added skeleton code to engine.ts