Refactoring Sphinx files into directories