Moved the simple local engine to its own module.