support for opencv
added class to run simulation