Remove unnecessary code and tests. Use express app.settings properly.