new funtion and library to export reports
Merge pull request #4 from rewolfe/master

new funtion and library to export reports