Update README
Add code style config
Add Resource#[]= method to set attributes.

* Fix code style issues