Add main engine file