refactoring towards the proper OAuth2 implementation
more refactoring
implemented new calendar API
fixed Google Calendar integration