Broke up the code into more files

Config, auth and calendar operations are now in their own files.