Added ability to get all objects, just 1, or save a new one with a post request