Added new functionality to export meta data from database. [#32]