Pulled apart util classes and db classes from main app.d logic.