Allow the user to set the datastore type.

@jj0hns0n's work to allow setting of the datastore type.