Example of how to structure a three.js project with AMD, using Require.js. See github.com/felixpalmer/amd-three.js for source and details