updated readme and API