added in genesis creation code (from stackoverflow)
and stripped dcoind... (too late?)