Add log & not found middle ware.
Util.js are renamed to middleware.js .