First implementation of ChildProcess

Other minor fixes