Moved everything into a GCalendar class

Makes it easier to work with