Lotsa changes regarding db.