rename api to http api, we're going to implement tcp api
rename api config to http_api