added use cases to index.xhtml and added documentation.