Added basic api call for Imgur.
Encapsulated map logic.