Database set up.