Added date constant for backup files.
Stubbing in capablity for backing up and restoring db.
Added restore functionlity
Putting list of ids  into file in case of system shutdown.