convert readme to markdown and add more example from tutorial.html