Change mEngineWrapper as global variable gEngineWrapper; Start writing ShapeApprox class which will support segmentated sparse approximation