v3.4 Added PathsHandler to deal with absolute and relative paths, general cleanup of code