Add report to db

Replaces #203 to move directly into master.