added a destroy method to the new Path class and some comments

thanks again @osro !