Copy pasted driver class constructor.
Changed app to CPP and resolved exceptions.