added initial function documentation
fix provision demo.
Update doc
Update doc
merge oneid into examples