between server and client out into a separate internal API. This will make it easier to add another process.