Add database and loader