change function names
add TrjSet class. remove concept of path