Refactor tools and plugins into separate modules
Reduce the need to invoke cherrypy.tools.encode decorator