more documentation and a sample app