Update docstrings
Refactor: move repositories out of factories module