Get persistence to work, create a ModelCreator to check the uniqueness of the table entries.