Add resource #from_file and #from_json methods

- added some basic logic (and tests!) to the resource object for #from_file and #from_json methods.
- updated the README to describe how to use the #from_file method