New version

- Better logging
- Function instead of path
- Pre / Post request