exports.newPeerInterface = function newPeerInterface() { let thisObject = { initialize: initialize, finalize: finalize, run: run } return thisObject function finalize() { } function initialize() { } function run() { } }