Add server wrapper and restful interface