Tidying up saving the metadata
Merge pull request #12 from go-lab/metadata_save

Tidying up saving the metadata