Merge pull request #19 from asobolev/master

Draft of the table with metadata literals + some refactoring

There was just this small comment about code style, so I merged it.
added a small test for metadata table