Can you give a working example? Or maybe i should not use it in one process for some reason? It would be nice to have all this features together in single process without using network.