Added scanner and format examples

Change-Id: I284a274817eab8201826e0929e929b436d37388b