Moved function out to seperate file
Moved function out to seperate file
Clean up and added some new http methods
Clean up and added some code from other files
Clean up and removed dead code
Added header
Added header