* added support of saving report to database
* added a new endpoint