Template server with model controller support for RPC