Remove old api.
More api updates and bug fixes.
Require key and bucket.
Update documentation.