now storing headers and classifieds into db