Modify get paths methods and move it into atug
add get paths method in Parser