Added sample gui for application and changed search to return document list.