Rewrote README

Longer introduction, better formatting in code examples.