Code documentation, global hook added.
Create a default config.