chore(metastrings): Move metastring table code into a class