Added box prototype and added comments for Ray for abstraction