Seperated objects into individual .js files. Factored rendering logic into new object Renderer. Factored ray tracing into new object RayTracer.