updated readme with api info
updated readme fixed logging