(fix) Temporary hack for travis.
(refactor) Changed Ingot to Middleware.
(refactor) Updated example to use Middleware.