implement job spawning and linking

server doesn't accept the requests yet, but the container logic is there

also fixed "priveleged" typo and fixed some races