Moved server PUT handling to it's own function
Moved server PUT handling to it's own function
Moved server DELETE handling to it's own function