Moved sections in readme, cleaned code example.