Added overall comments and stub code from example.