Refactors Publisher and DocRepo

- Complains without required config.yml keys