Added Header and footer to all Query Results

improvement #3