Changed the Metadata struct
Added DetailPackage and GetPackage to pkg package