Set up 3-D class