Backend code ability to get single resource.

TODO: Switch to a much more resourceful PHP backend