rename
    api ==> server
    rpc ==> client