Sample class for connecting to Google Calendar API in a Desktop Application