Added rspec, removed rexec dependencies.
Fixed buggy process code.