output can be now summarizes
fixed bug in the initialization of the db and fixed bugs in the output
of the the datamodels
records are printed now in the right order