changes app structure for node.js and express