Improve the configuration holder, add a new operation.

- Add the path of the target folder to the configuration holder.
- Add an operation to check if a file exists.
- Change the structure of the generator to make it more understandable.