Merge pull request #107 from computmaxer/master

Fix create_scan_log_function
Add stats endpoint.
Merge pull request #108 from computmaxer/stats

Add stats endpoint.