Move main to gob/gob