Added seperate client [main] that can be spawned as a working seperate process