Added saving and loading of genes