Added render class.

Main functionality came from RaycastingPanel.