headerfile + detailfile classes + consultas