I don't like how all of this Express app config had to move into a callback because of Locator.