Made resources for materials and geometries, and updated the threeComponent to handle resource loading. Updated the sandbox and main class accordingly.