Added libs for google calendar, added some test code, refactoring