Added functions

#Added "update appointment" class
#Changed curl to init for each function, so multiple functions can be executed. Probably should queue this; unsure how much performance will be impacted. 
#Ensured it actually sent the headers (it didn't before?!)