Moving db table create and populate into separate methods.