updated build files to include tests
code to track paths
updated the code for the paths along with simple tests