Reworked classes. Added q_header class for header filters