Refactored ALL THE THINGS! And added a sample web app.
Tests pass again.