fix deepFreeze
do not create the api object if not needed
update Readme
Update examples