Adding path.h and unittests