Added database utils
Changed CompareFeature