fixes issue 1 - csv export file is empty, code comments updated too
Merge pull request #4 from silverstripe-labs/issue-1

solves issue #1 and adds comments and scope to most of the functions