split app.js into multiple files