Re-arranged to work with get/post/put/delete 'cause I was being silly
some re-organization, ditching headers as a reliable means since json is easier for people to work with in javascript