Add framework for HTTP api