Added mzdb support

Also started an "examples" directory containing the 'liberate' tool.