update docs and add sample app