use ruby implementation of Path and split conversaion to and from ycp