Fleshed out manager and gateway