added TokuDB enterprise, slight refactoring