add a metadata init process. references #29