Refactored Google_Source

Moved a lot of code for handling the Gmail API from main into a new Google clas.
Added tests for new Google class.