bug-50: create metadata table
Merge pull request #7 from john-hu/bug-50-create-metadata

bug-50: create metadata table, r=thomas