Continuing to port app.js over to requestHandlers.js, abstracting more functions, and code cleanup.