Converted main to use new library code

Scrapped all hardcoding in main, and now call Imgur and Google classes.
Additionally, fixed an error in the Imgur class where some links didn't
use https.
Removed unecessary imports