Working ram

These are changes that override the changes from the previous commit/pull-request. Changes have been made in the way objects are pickled and unpickled, and also in the use of CMD line args.

--
Ram