initial working Path/Polyline implementation