Renamed motor to engine.
Added support for external dependency configuration.