add engine, controller and routes