Refactoring. Move functionality into functions.
Allow for retrieving imgur album images.