(refactor) Changed Ingot to Middleware.
(refactor) Updated example to use Middleware.
Merge pull request #47 from zzmp/refactor/ingot-to-middleware

(refactor) Change Ingot to Middleware.