added api docs to example read me.