Extract method refactoring

Hey mate,
I really like the location abstraction you added, amended only to introduce usage of `__FILE__`.

Have a look at the URI on line 8. I was looking at the website and they maintain a set of permalinks to the latest set of photos. If I've misunderstood what you were after with the time particular URI just say so and I'll revert it.

Main motivation: having just read a case study in "Clean Code" I wanted to practice method extraction.
`exit_with_failure` is a just a habit of mine because I find `exit false` misleading.