Splitting of the Database in CrossValidation.
Do we need the class AAEncodingDatabase? Seems unnecessary