replaced getpid() with Sys.getpid() and removed dependency on package fork; added some examples