move api credentials and fee out of code, update readme