About camera

Class Camera hasn't added into the main program. Currently we write
almost the same code in the MainWindow class.