Refactoring code.

- Handling duplicated logic through new has_section? method.
Updating README.md