Create a function library

Notably it implements:
- a directoryParser class to work on every file and/or directory under a
  specific directory
- the escapeShellArg function to escape arguments to be passed to shell
  commands
- the mkdirRecursiveSync function to create a directory and all its
  ancestors
Use the mkdirRecursiveSync function in the library
Use the directoryParser class