versioning & url construction refactoring