Moving out database stuff for another repo.