Modified to work with new repo
Gob methods added, makes it easier to store objects as gob code.