added example API class.