Switch to objective c++, add touch path prototype