API for failed + refactorings
clean up tests
getting close.

Failed queue working, but pagination is not quite right
Failures is done
make overview work