routes corrected; buildsPathsStructure method must use relative paths