Split the scene.js file into multiple files

closes #38