slightly refactor Api class

use ning's netty based async http client for API requests
don't generate a new object where the class object is enough