add camera class and update torus