Changes to API to work with Ember, plus DELETE functionality