persistance working and singlton uniqueNumberGenerator incrementing from where it should be