Fix to work with setup file.

Changed location of where camera object is instantiated to main()