Save error and result log to results collection.
#4 close #3
Remove unused indexes.
Combine result/error logs. Record time for them.
close #4