major refactor of database ops
comp classif ready
default seed=42