Updated CADRE to use BSONRecorder

Also fixed some bugs