Add a constructor for the datastore