Completed code documentation, except for LightRenderer and animation, since these will change soon.