Added ANDYDatabaseManager.

Improvements include new API for safe background saves.