Separate all DB actions into their own file.