refactors local and remote book paths to path.py