hooks.rs
This concludes the code separation into several files.
config.rs
To continue with code separation to improve readability.