change readme and fix snippets, fixed #12