Clean up README

Place code snippets in code blocks, add link to test folder for more examples and adjust some grammar.