image capture sample code added.  Need to add preview pane