Refactoring URL generation into individual request type classes