Adding usage to readme and updating order of precedence on write path.

I've changed the order of precedence on the config path used in the "write" function, I believe it to be correct but please clarify; tests still pass.
Beyond this line was just indentation changes.