Replace API class.
api class.
Complete rewrite.
Version update.