Added the Ray class