Added simple main function to test OpenCV