Add server and restful interface