Added 3d_view.py

Basic code to handle necessary opengl objects for 3d_view.py.