Basic metadata output implemented

* Sample demo updated to retrieve basic metadata.