Add support for the export API
Merge pull request #7 from cooncesean/export-api

Add support for the export API