First working version of MetadataRest.