Remove old unused variable
Rewrite of headline adapter (no memory leaks & faster)