Add constructors for CachingRecordManager.cs so that it is compatible with and without DatabaseManager