Added info about rebuilding registry into the changelog.
Changed todo in TODO.txt. Refactoring code for better SOC.

We wont move methods around for better readability. Only refactor to
increase SOC.
Moved permissions const to module file.
Restructured Config classes.