moved camera open(0) to .cpp file