Added a /api/sources hook, took time to refactor some of app.js for more idiomatic express usage.
Added a test for [Future get sources] in Dart, to test the new hook.