make app.require easily to use like this:

var require_base = require("pomelo").app.require;
var Code = require_base("config/code.json");