Move db collections to config